TEMPLATE = app
CONFIG += console
CONFIG -= app_bundle
CONFIG -= qt
CONFIG += object_parallel_to_source
TARGET = tinyjs

INCLUDEPATH += ../core/include
INCLUDEPATH += ../driver
INCLUDEPATH += ..

DEFINES += JS_CFG_DEBUG

SOURCES += \
        ../core/js_basic.c \
        ../core/js_block.c \
        ../core/js_entity.c \
        ../core/js_err.c \
        ../core/js_ffi.c \
        ../core/js_func.c \
        ../core/js_gc.c \
        ../core/js_logic.c \
        ../core/js_mem.c \
        ../core/js_obj.c \
        ../core/js_op.c \
        ../core/js_parser.c \
        ../core/js_prop.c \
        ../core/js_scope.c \
        ../core/js_stmt.c \
        ../core/js_string.c \
        ../core/js_stringnify.c \
        ../core/js_value_size.c \
        ../core/js_variable.c \
        ../debug/js_debug.c \
#        ../driver/js_driver.c \
        ../js.c \
    main.c

HEADERS += \
    ../core/include/js_basic.h \
    ../core/include/js_block.h \
    ../core/include/js_entity.h \
    ../core/include/js_err.h \
    ../core/include/js_ffi.h \
    ../core/include/js_func.h \
    ../core/include/js_gc.h \
    ../core/include/js_include.h \
    ../core/include/js_logic.h \
    ../core/include/js_mem.h \
    ../core/include/js_obj.h \
    ../core/include/js_op.h \
    ../core/include/js_parser.h \
    ../core/include/js_prop.h \
    ../core/include/js_scope.h \
    ../core/include/js_stmt.h \
    ../core/include/js_string.h \
    ../core/include/js_stringnify.h \
    ../core/include/js_types.h \
    ../core/include/js_value_size.h \
    ../core/include/js_variable.h \
    ../debug/js_debug.h \
    ../driver/js_driver.h \
    ../js.h
